<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta http-equiv="mobile-agent" content="format=html5; url=http://m.chunmeitu.com" />
<meta http-equiv="mobile-agent" content="format=xhtml; url=http://m.chunmeitu.com" />
<link rel="alternate" media="only screen and(max-width: 640px)" href="http://m.chunmeitu.com" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<title><?php if(isset($SEO['title']) && !empty($SEO['title'])) { ?><?php echo $SEO['title'];?><?php } ?><?php echo $SEO['site_title'];?></title>
<meta name="keywords" content="<?php echo $SEO['keyword'];?>">
<meta name="description" content="<?php echo $SEO['description'];?>">
<link href="<?php echo LAYUI_PATH;?>css/layui.css" rel="stylesheet" type="text/css" />
<link href="<?php echo LAYUI_PATH;?>css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo LAYUI_PATH;?>cookie.js"></script>
<script type="text/javascript" src="<?php echo LAYUI_PATH;?>layui.js"></script>
<script type="text/javascript" src="<?php echo LAYUI_PATH;?>global.js"></script>
</head>
<body>
<div class="layui-header">
  <div class="layui-cat">
    <ul class="layui-nav" lay-filter="">
      <div class="layui-logo"><a href="<?php echo APP_PATH;?>"><img src="<?php echo IMG_PATH;?>logo.png" /></a></div>
      <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b43f1459ac702900c8d44c91a5e796dd&action=category&catid=0&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
      <li class="layui-nav-item layui-this"><a href="<?php echo APP_PATH;?>">首页</a>
      <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
      <li class="layui-nav-item"><a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></li>
      <?php $n++;}unset($n); ?>
      <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=f62a3ed658b9fc5a8c5f22779d1cdb89&sql=select+%2A+from+phpcms_category+where+ismenu%3D0+order+by+listorder+asc&num=10\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("select * from phpcms_category where ismenu=0 order by listorder asc LIMIT 10");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?>
      <li class="layui-nav-item">
        <a href="javascript:;">更多</a>
        <dl class="layui-nav-child">
          <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
          <dd><a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></dd>
          <?php $n++;}unset($n); ?>
        </dl>
      </li>
      <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      <div class="layui-search"><i class="layui-icon">&#xe615;</i></div>
      <div class="layui-user"><script type="text/javascript">document.write('<iframe src="<?php echo APP_PATH;?>index.php?m=member&c=index&a=mini&forward='+encodeURIComponent(location.href)+'&siteid=<?php echo get_siteid();?>" allowTransparency="true" frameborder="0" scrolling="no"></iframe>')</script></div>
    </ul>
  </div>
</div>